package com.weixing.mall.provider.model.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.model.enums.GoodsFromEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.net.URL;
import java.util.Date;

/**
 * @program: mall-master
 * @description: 货品导出
 * @author: wangfang
 * @create: 2021-11-25 14:48
 **/
@Data
@ContentRowHeight(100)
public class GoodsED {

    /**
     * 商品码
     */
    @ExcelProperty(value = "货号")
    private String goodsSn;
    /**
     * 款号
     */
    @ExcelProperty(value = "款号")
    private  String  styleNo;
    /**
     * 商品图片
     */
    @ExcelProperty(value = "商品图片")
    private URL goodsImgUrl;
    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    private String goodsName;
    /**
     * 颜色尺码skus
     */
    @ExcelProperty(value = "颜色尺码")
    private String skus;
    /**
     * 商品来源
     */
    @ExcelProperty(value = "商品来源")
    private String goodsFrom;
    /**
     * 分类名称
     */
    @ExcelProperty(value = "分类")
    private String catName;
    /**
     * 体系
     */
    @ExcelProperty(value = "系列")
    private  String  goodsSys;
    /**
     * 年份
     */
    @ExcelProperty(value = "年份")
    private String gsYear;
    /**
     * 季节
     */
    @ExcelProperty(value = "季节")
    private String gsSeason;
    /**
     * 零售价
     */
    @ExcelProperty(value = "零售价格")
    private Double discountPrice;
    /**
     * 市场价
     */
    @ExcelProperty(value = "市场价格")
    private Double marketPrice;

    /**
     * 状态
     */
    @ExcelProperty(value = "上架")
    private String status;
    /**
     * 创建时间
     */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @ExcelProperty(value = "创建时间")
    private Date createdTime;





    /**
     * 排序
     */
    @ExcelProperty(value = "排列序号")
    private int orderNo;


}
